function RandomFloat(min: number, max: number) {
    return Math.random() * (max - min) + min;
}

export interface RandomPointType {
    size?: number
}
export const RandomPointCoordinates = (opt: RandomPointType = {}) => {
    const {
        size = 1
    } = opt
    return Array(size).fill('').map(() => [RandomFloat(100,120) , RandomFloat(30,35)])
}